﻿<UserControl x:Class="Sobiens.Connectors.WPFControlsTest.FilterableHeader"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="133"  Background="#FF009600">
    <Grid>
        <ComboBox Name="cboTask" Height="30" HorizontalAlignment="Stretch" Visibility="Collapsed" DropDownClosed="cboTask_DropDownClosed">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <CheckBox Name="chkTask" Content="{Binding}" IsChecked="{Binding Path=IsChecked}"></CheckBox>
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
        <Label Name="HeaderLabel" VerticalAlignment="Top"  HorizontalAlignment="Left" Content="Status"></Label>
        <Button Width="30" HorizontalAlignment="Right" Margin="0,0,0,0" Click="Button_Click">
            <ContentControl>
                <Image Source="/Sobiens.Connectors.WPFControlsTest;component/FilterBrowse.gif" Width="20" Height="20" HorizontalAlignment="Center" VerticalAlignment="Center" Name="LoadingImage" />
            </ContentControl>
        </Button>
    </Grid>
</UserControl>
